package com.jinmdz.fmis.api.admin.model.organization;

import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.core.base.BaseBean;
import com.jinmdz.fmis.dao.model.dictionary.DataDictionaryItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.ArrayList;
import java.util.HashMap;

/**
 * 组织机构加载数据
 *
 * @author LiCongLu
 * @date 2020-03-17 16:20
 */
@ApiModel(value = "组织机构加载数据", description = "组织机构加载数据")
public class OrganizationLoadData extends BaseBean {
    /**
     * 组织机构数据
     */
    @AnValidate(name = "组织机构数据")
    @ApiModelProperty(value = "组织机构数据", name = "organization", position = 1)
    private OrganizationSaveData organization;

    /**
     * 字典数据
     */
    @AnValidate(name = "字典数据")
    @ApiModelProperty(value = "字典数据", name = "dicts", position = 2)
    private HashMap<String, ArrayList<DataDictionaryItem>> dicts;

    public OrganizationSaveData getOrganization() {
        return organization;
    }

    public OrganizationLoadData setOrganization(OrganizationSaveData organization) {
        this.organization = organization;
        return this;
    }

    public HashMap<String, ArrayList<DataDictionaryItem>> getDicts() {
        return dicts;
    }

    public OrganizationLoadData setDicts(HashMap<String, ArrayList<DataDictionaryItem>> dicts) {
        this.dicts = dicts;
        return this;
    }
}
